package com.settlement.system.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * OMS原始订单明细表
 * </p>
 *
 * @author huangrensen
 * @since 2024-04-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OriginalOmsOrderPostVo implements Serializable {

    /**
     * OMS单号
     */
    private String orderNo;


    /**
     * 店铺ID
     */
    private Long storeId;


    /**
     * 网店交易号
     */
    private String storeTradeNo;


    /**
     * 换货原始交易号
     */
    private String originalNo;


    /**
     * 子交易号
     */
    private String subNo;


    /**
     * 订单状态
     */
    private String status;


    /**
     * 下单时间
     */
    private LocalDateTime purchasedTime;


    /**
     * 付款时间
     */
    private LocalDateTime paymentTime;


    /**
     * 发货时间
     */
    private LocalDateTime sendTime;


    /**
     * 已付金额
     */
    private BigDecimal paidAmount = BigDecimal.ZERO;


    /**
     * 商品SKU
     */
    private String sku;


    /**
     * 条码
     */
    private String productCode;


    /**
     * 商品名称
     */
    private String productName;


    /**
     * 均摊金额
     */
    private BigDecimal equalizationAmount = BigDecimal.ZERO;


    /**
     * 数量
     */
    private Integer qty = 0;


    /**
     * erp单号
     */
    private String erpNo;

    private OriginalOmsOrderDetailPostVo detail;
}
